package org.xyl.model;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 诊断请求模型
 */
public class DiagnosisRequest {

    /**
     * 超市ID
     */
    private String storeId;

    /**
     * 超市名称
     */
    private String storeName;

    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 失败的价签数量
     */
    private Integer failedTagsCount;

    /**
     * 失败时间
     */
    private LocalDateTime failureTime;

    /**
     * 网络状态
     */
    private String networkStatus;

    /**
     * 历史失败数据
     */
    private Map<String, Object> historicalData;

    /**
     * 错误日志摘要
     */
    private String errorLogSummary;

    // Getter and Setter methods
    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getFailedTagsCount() {
        return failedTagsCount;
    }

    public void setFailedTagsCount(Integer failedTagsCount) {
        this.failedTagsCount = failedTagsCount;
    }

    public LocalDateTime getFailureTime() {
        return failureTime;
    }

    public void setFailureTime(LocalDateTime failureTime) {
        this.failureTime = failureTime;
    }

    public String getNetworkStatus() {
        return networkStatus;
    }

    public void setNetworkStatus(String networkStatus) {
        this.networkStatus = networkStatus;
    }

    public Map<String, Object> getHistoricalData() {
        return historicalData;
    }

    public void setHistoricalData(Map<String, Object> historicalData) {
        this.historicalData = historicalData;
    }

    public String getErrorLogSummary() {
        return errorLogSummary;
    }

    public void setErrorLogSummary(String errorLogSummary) {
        this.errorLogSummary = errorLogSummary;
    }
}
